<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>盒模型</title>
  <style>
    .box1 {
      width: 400px;
      height: 200px;
      background-color: #0ff;
      /* 边框线 solid 实线*/
      /* border: 32px solid #0f0; */
      /* 边框线 方向 */
      border-bottom: 32px solid #f00;
    }

    .box2 {
      width: 400px;
      height: 200px;
      line-height: 200px;
      font-size: 24px;
      background-color: #0ff;
      /* 内边距 */
      padding-left: 24px;
    }

    .box3 {
      width: 400px;
      height: 200px;
      line-height: 200px;
      font-size: 24px;
      background-color: #0ff;
      /* 内边距 */
      padding: 16px 24px 16px 24px;
    }
  </style>
</head>

<body>
  <!-- 布局网页,摆放网页内容 -->
  <!-- <div class="box1">布局网页,摆放网页内容</div> -->
  <!-- <div class="box2">布局网页,摆放网页内容</div> -->
  <div class="box3">布局网页,摆放网页内容</div>


</body>

</html>